const { Game } = require('board-game');

class UndercoverGame extends Game {
    constructor(server, room) {
        super(server, room);
    }
    over(type) {
        super.over((group, role) => role.type === type);
    }
}

module.exports = UndercoverGame;